//-----------------------------------------------------------------------
// <copyright file="PersonCredential.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;using MongoDB.Bson;using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models{
    /// <summary>
    /// The credential awarded to a person.
    /// </summary>
    public class PersonCredential
    {
        #region Instance Properties
        [BsonId]
        public ObjectId _id { get; set; }

        public ObjectId PersonId { get; set; }

        public string CredentialName { get; set; }

        public ObjectId? RefCredentialTypeId { get; set; }

        public DateTime? IssuanceDate { get; set; }

        public DateTime? ExpirationDate { get; set; }

        public ObjectId? RefIssuingStateId { get; set; }

        public string ProfessionalCertificateOrLicenseNumber { get; set; }

        public string CredentialOrLicenseAwardEntity { get; set; }

        #endregion Instance Properties}}